Remove call to ShowOwnedPopups (FALSE) to hide owned windows
authorLuca Bacci <luca.bacci982@gmail.com>
Tue, 14 Dec 2021 17:33:28 +0000 (18:33 +0100)
committerLuca Bacci <luca.bacci982@gmail.com>
Sun, 2 Jan 2022 17:42:31 +0000 (18:42 +0100)
This is needed to fully support windows with the property
"destroy-with-parent" set to FALSE.

gdk/win32/gdksurface-win32.c

index 94f380448adeab44ec6623f81fadca55e85c1bcb..7f635be528bca5c10ed087a749fdeaed480ada33 100644 (file)
@@ -989,9 +989,6 @@ gdk_win32_surface_hide (GdkSurface *window)
 
   _gdk_surface_clear_update_area (window);
 
-  if (GDK_IS_TOPLEVEL (window))
-    ShowOwnedPopups (GDK_SURFACE_HWND (window), FALSE);
-
   /* Use SetWindowPos to hide transparent windows so automatic redraws
    * in other windows can be suppressed.
    */